package io.gitee.tziye.core.instance;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RenaiDataSource {

    private String url;
    private String database;
    private String user;
    private String password;

    private int maxConnections = 10;
    private int maxIdleSeconds = 10 * 60;

    public RenaiDataSource(String url, String database, String user, String password) {
        this.url = url;
        this.database = database;
        this.user = user;
        this.password = password;
    }

}
